package com.ssyan.factory.simplefactory.order;

/**
 * @author ssyan
 * @Description 客户端
 * @create 2021/8/27 22:26
 * @Version 1.0
 */
//相当于一个客户端，发出订购
public class PizzaStore {
    public static void main(String[] args) {
        //new OrderPizza();

        //使用简单工厂模式
        //new OrderPizza(new SimpleFactory());
        new OrderPizza2();
        System.out.println("~~退出程序~~");
    }
}
